﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="GreenLife.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" type="text/css" href="style/slide.css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#featured > ul").tabs({ fx: { opacity: "toggle"} }).tabs("rotate", 5000, true);
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <!-- cho slide anh hien o day trung voi tin tuc -->
    <div id="featured">
        <ul class="ui-tabs-nav">
            <li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-1"><a href="#fragment-1">
                <img src="images/page 9 - 10.jpg" alt="" /><span>Vị trí đắc địa Green Life Tower</span></a></li>
            <li class="ui-tabs-nav-item" id="nav-fragment-2"><a href="#fragment-2">
                <img src="images/tongquan2.png" alt="" /><span>Các tiện ích nằm trong dự án</span></a></li>
            <li class="ui-tabs-nav-item" id="nav-fragment-3"><a href="#fragment-3">
                <img src="images/tongquan1.jpg" alt="" /><span>Công viên đẹp với nhiều cây xanh</span></a></li>
            <li class="ui-tabs-nav-item" id="nav-fragment-4"><a href="#fragment-4">
                <img src="images/page 1 - 2.jpg" alt="" /><span>Mở ra một cuộc sống xanh</span></a></li>
        </ul>
        <!-- First Content -->
        <div id="fragment-1" class="ui-tabs-panel" style="">
            <img src="images/page 9 - 10.jpg" alt="" />
            <div class="info">
                <h2>
                    <a href="#">Vị trí đắc địa Green Life Tower</a></h2>
                <p>
                    Green Tower có vị trí đắc địa bậc nhất hiện nay tại ....<a href="#">read more</a></p>
            </div>
        </div>
        <!-- Second Content -->
        <div id="fragment-2" class="ui-tabs-panel ui-tabs-hide" style="">
            <img src="images/tongquan2.png" alt="" />
            <div class="info">
                <h2>
                    <a href="#">20 Beautiful Long Exposure Photographs</a></h2>
                <p>
                    Vestibulum leo quam, accumsan nec porttitor a, euismod ac tortor. Sed ipsum lorem,
                    sagittis non egestas id, suscipit....<a href="#">read more</a></p>
            </div>
        </div>
        <!-- Third Content -->
        <div id="fragment-3" class="ui-tabs-panel ui-tabs-hide" style="">
            <img src="images/tongquan1.jpg" alt="" />
            <div class="info">
                <h2>
                    <a href="#">35 Amazing Logo Designs</a></h2>
                <p>
                    liquam erat volutpat. Proin id volutpat nisi. Nulla facilisi. Curabitur facilisis
                    sollicitudin ornare....<a href="#">read more</a></p>
            </div>
        </div>
        <!-- Fourth Content -->
        <div id="fragment-4" class="ui-tabs-panel ui-tabs-hide" style="">
            <img src="images/page 1 - 2.jpg" alt="" />
            <div class="info">
                <h2>
                    <a href="#">Create a Vintage Photograph in Photoshop</a></h2>
                <p>
                    Quisque sed orci ut lacus viverra interdum ornare sed est. Donec porta, erat eu
                    pretium luctus, leo augue sodales....<a href="#">read more</a></p>
            </div>
        </div>
    </div>
    <!-- het phan slide -->
    <div id="news">
        <h1>Tin tức</h1>
        <div id="rowsnews">
            <asp:Repeater ID="listNewsTinTuc" runat="server" OnItemDataBound="rpt_TinTuc_ItemDataBound">
                <HeaderTemplate>
                    <div id="rowsnewsleft">
                </HeaderTemplate>
                <ItemTemplate>
                    <div id="imgleft">
                        <a href="#">
                            <asp:Image ID="imgNews" Width="100%" Height="100%" runat="server" ImageUrl='<%# Bind("Images") %>' />
                        </a>
                    </div>
                    <div id="contentleft">
                        <h2>
                            <a class="linksub" href="ChiTietTinTuc.aspx?id=<%# DataBinder.Eval(Container.DataItem ,"NewsID") %>">
                                <%# Eval("Title") %></a></h2>
                        <p>
                            <%# Eval("QuickTitle") %></p>
                    </div>
                    <div class="clear">
                    </div>
                    <asp:Repeater ID="rpt_Con" runat="server">
                        <HeaderTemplate>
                            </div>
                            <!-- het the div của id="rowsnewsleft" -->
                            <div id="rowsnewsright">
                                <ul>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <li><a href="ChiTietTinTuc.aspx?id=<%# DataBinder.Eval(Container.DataItem ,"NewsID") %>">
                                <%# Eval("Title") %></a></li>
                        </ItemTemplate>
                        <FooterTemplate>
                            </ul> </div>
                        </FooterTemplate>
                    </asp:Repeater>
                </ItemTemplate>
                <FooterTemplate>
                    <div class="clear">
                    </div>
                </FooterTemplate>
            </asp:Repeater>
        </div>
    </div>
    <!-- het phan tin tuc -->
    <div id="news">
        <h1>
            Tiến độ dự án</h1>
        <div id="rowsnews">
            <asp:Repeater ID="listTDDefault" runat="server" OnItemDataBound="rpt_TienDo_ItemDataBound">
                <HeaderTemplate>
                    <div id="rowsnewsleft">
                </HeaderTemplate>
                <ItemTemplate>
                    <div id="imgleft">
                        <a href="#">
                            <asp:Image ID="imgNews" Width="100%" Height="100%" runat="server" ImageUrl='<%# Bind("Images") %>' />
                        </a>
                    </div>
                    <div id="contentleft">
                        <h2>
                            <a class="linksub" href="ChiTietTinTuc.aspx?id=<%# DataBinder.Eval(Container.DataItem ,"NewsID") %>">
                                <%# Eval("Title") %></a></h2>
                        <p>
                            <%# Eval("QuickTitle") %></p>
                    </div>
                    <div class="clear">
                    </div>
                    <asp:Repeater ID="rpt_Con" runat="server">
                        <HeaderTemplate>
                            </div>
                            <!-- het the div của id="rowsnewsleft" -->
                            <div id="rowsnewsright">
                                <ul>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <li><a href="ChiTietTinTuc.aspx?id=<%# DataBinder.Eval(Container.DataItem ,"NewsID") %>">
                                <%# Eval("Title") %></a></li>
                        </ItemTemplate>
                        <FooterTemplate>
                            </ul> </div>
                        </FooterTemplate>
                    </asp:Repeater>
                </ItemTemplate>
                <FooterTemplate>
                    <div class="clear">
                    </div>
                </FooterTemplate>
            </asp:Repeater>
        </div>
    </div>
    <!-- het phan tien do -->
       <div id="news">
        <h1>
            Tiện ích</h1>
        <div id="rowsnews">
            <asp:Repeater ID="listTienIch" runat="server" OnItemDataBound="rpt_TienIch_ItemDataBound">
                <HeaderTemplate>
                    <div id="rowsnewsleft">
                </HeaderTemplate>
                <ItemTemplate>
                    <div id="imgleft">
                        <a href="#">
                            <asp:Image ID="imgNews" Width="100%" Height="100%" runat="server" ImageUrl='<%# Bind("GreenLifesImages") %>' />
                        </a>
                    </div>
                    <div id="contentleft">
                        <h2>
                            <a class="linksub" href="ChiTietGreenLifes.aspx?id=<%# DataBinder.Eval(Container.DataItem ,"GreenLifesID") %>">
                                <%# Eval("GreenLifesTitle")%></a></h2>
                        <p>
                            <%# Eval("GreenLifesQuickTitle")%></p>
                    </div>
                    <div class="clear">
                    </div>
                    <asp:Repeater ID="rpt_Con" runat="server">
                        <HeaderTemplate>
                            </div>
                            <!-- het the div của id="rowsnewsleft" -->
                            <div id="rowsnewsright">
                                <ul>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <li><a href="ChiTietGreenLifes.aspx?id=<%# DataBinder.Eval(Container.DataItem ,"GreenLifesID") %>">
                                <%# Eval("GreenLifesTitle")%></a></li>
                        </ItemTemplate>
                        <FooterTemplate>
                            </ul> </div>
                        </FooterTemplate>
                    </asp:Repeater>
                </ItemTemplate>
                <FooterTemplate>
                    <div class="clear">
                    </div>
                </FooterTemplate>
            </asp:Repeater>
        </div>
    </div>
    <!-- het phan tien ich -->
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <!-- hien vi tri du an -->
    <h1 style="margin-top: 0px;">
        Video giới thiệu dự án</h1>
    <div class="box">
        <object width="305" height="260">
            <param name="movie" value="http://www.youtube-nocookie.com/v/hPcpvgmqkoY?version=3&amp;hl=en_GB&amp;rel=0">
            </param>
            <param name="allowFullScreen" value="true"></param>
            <param name="allowscriptaccess" value="always"></param>
            <embed src="http://www.youtube-nocookie.com/v/hPcpvgmqkoY?version=3&amp;hl=en_GB&amp;rel=0"
                type="application/x-shockwave-flash" width="305" height="260" allowscriptaccess="always"
                allowfullscreen="true"></embed>
        </object>
    </div>
</asp:Content>
